package com.zh.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;


@Controller
public class ApiController {

    @GetMapping("/admin")
    public String backend() {
        return "redirect:/backend/page/login/login.html";
    }

    @GetMapping("/user")
    public String front() {
        return "redirect:/front/page/login.html";
    }
    @GetMapping("/doc")
    public String doc(){
        return "redirect:/doc.html";
    }
}